﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
//using System.Web.DynamicData;
using OA.Model;
using OA.Model.MyAttribute;
using OA.Core;
using System;

namespace OA.Model
{
    /// <summary>
    /// 职员合同
    /// </summary>
    //[TableName("职员合同")]
    [Table("EmployeeContract")]
    public class EmployeeContract : BaseInfo
    {
        public int Status { get; set; }

        [MaxLength(10)]
        public string EmpID { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [MaxLength(10)]
        [Tag(TagEnum.DateTime, "required", "开始时间", 10, 10)]
        public string StartTime { get; set; }


        /// <summary>
        /// 结束时间
        /// </summary>
        [MaxLength(10)]
        [Tag(TagEnum.DateTime, "required", "结束时间", 10, 10)]
        public string EndTime { get; set; }

    }
}
